package com.qf.xiaomi.service;

import com.qf.xiaomi.pojo.CartUnion;
import com.qf.xiaomi.pojo.OrderDetail;
import com.qf.xiaomi.pojo.OrderList;

import java.util.List;
import java.util.Map;

/**
 * @Created by 马英超 on 2022/8/20 17:19
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public interface OrderService {
    Map createOrder(int userId, int addressId, List<CartUnion> cart);

    List<OrderList> queryOrderByUserId(int userId);

    OrderDetail queryOrderDetail(String oid, int userId);
}
